package com.jky.trial.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jky.trial.common.QueryParam;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class Log extends QueryParam implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private Integer userId;     //创建用户
    private String ip;
    private Integer type;       //类型：日志、记录
    private Integer subType;    //子类型：回次、动探、标贯等等
    private String targetId;    //目标主体

    private String remark;
    private Integer comId;
    private Boolean deleted;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createAt;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateAt;
    private Integer status;
    private Integer loanId;
    private Integer loanOperatorId;
    private Integer returnId;
    private Date returnAt;
    private Date loanAt;
    private Date planedAt;
    private Boolean loanStatus;
    private Boolean returnStatus;
    private String returnMark;
}